package com.ruoyi.sports.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名参赛记录对象 application
 * 
 * @author ruoyi
 * @date 2023-03-08
 */
public class Application extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报名参赛记录ID */
    private Long applicationId;

    /** 报名参赛成员ID */
    @Excel(name = "报名参赛成员ID")
    private Long userId;

    /** 报名参赛成员昵称 */
    @Excel(name = "报名参赛成员昵称")
    private String nickName;

    /** 报名参赛项目ID */
    @Excel(name = "报名参赛项目ID")
    private Long eventId;

    /** 报名参赛项目名称 */
    @Excel(name = "报名参赛项目名称")
    private String eventName;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private Integer status;

    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("userId", getUserId())
            .append("nickName", getNickName())
            .append("eventId", getEventId())
            .append("eventName", getEventName())
            .append("status", getStatus())
            .toString();
    }
}
